 <cfquery name="shout" datasource="shout">
    SELECT *
    FROM messages
    ORDER BY datedon DESC
</cfquery>

<table cellpadding="2" cellspacing="2" class="box" width="100%">
    <cfoutput query="shout" maxrows="10">
    <tr>
        <td valign="top">
        <p>
           <a href="mailto:#email#" title="#datedon#">#poster#</a>: #msg#
        </p>
        </td>
    </tr>
    <tr>
        <td>
           <hr width="100%">
        </td>
    </tr>
    </cfoutput>
</table>
<hr>
<br>
<form method="post" action="addshout.cfm">
  <font size="2" family="Verdana">
    Name:
    <br>
    <input type="text" name="poster">
    <br>
    E-mail:
    <br>
    <input type="text" name="email">
    <br>
    Message:
    <br>
    <input type="text" maxlength="255" name="msg">
    <br>
    <input type="submit" value="add shout">
</form> 